library app_log;

import '../../helper/utils/util.dart';
import 'index.dart';

export './state.dart';
export './controller.dart';
export './view.dart';

void appLogRegister<R>(R Function() body) {
  var ctrl = AppLogController();
  if (!Get.isRegistered<AppLogController>()) {
    Get.lazyPut(() => ctrl);
  }

  ctrl.register(body);
}

void toAppLog() {
  Get.to(() => const AppLogPage());
}
